<ion-header>
    <ion-navbar>
        <ion-title>
            {{title}}
        </ion-title>
    </ion-navbar>
</ion-header>
<ion-content>
        <div  *ngIf="partyType=='4'">
        <data-img-show *ngIf="list.length==0"></data-img-show>     
         <ion-list>
            <ion-item *ngFor="let l of list" (click)="detail(l)">
                <h3 style="font-weight: 700">{{l.be_cked_party_name}}</h3>
                <span style="color: #2196f3">{{l.pd_type | constantTransfer:PLAN_DICT_TYPE}}</span>
                <span style="color: #f44336">{{l.check_state | constantTransfer:CHECK_STATE}}</span>
                <p>{{l.p_start_dt | detailDate}}</p>
                <button ion-button clear item-end>
                    <img src="assets/icon/home_enter.png">
                </button>
            </ion-item>
        </ion-list>
        <ion-infinite-scroll  (ionInfinite)="doRefresh($event)" threshold="100%" 
        *ngIf="list.length!=0">
                <ion-infinite-scroll-content
                  loadingSpinner="bubbles"
                  loadingText="加载更多">
                </ion-infinite-scroll-content>
              </ion-infinite-scroll>
               <div [hidden]="!isShowNoData"  style="color:#8d8d97">
                    <ion-row>
                        <ion-col text-center>
                          ———————— 我是有底线的 ————————
                        </ion-col>
                    </ion-row>
                </div>
    <!-- </ng-container> -->
            </div>


    <!--维保管理人员-->
    <!-- <ng-container *ngIf="partyType=='1' && roleId=='17' "> -->
     <div *ngIf="partyType=='1' && roleId=='17' ">
       <data-img-show *ngIf="maintRecordList.length ==0"></data-img-show>     
        <ion-list>
            <ion-item  *ngFor="let record of maintRecordList" (click)="checkMenu(record)">
                <h3 style="font-weight: 700">{{record.planName}}</h3>
                <span>实施对象:{{record.implementObject}}</span>
                <p style="color: #f44336">{{record.checkRecord | constantTransfer:CHECK_STATE}}</p>
                <p>{{record.createDate}}</p>
                <button ion-button clear item-end>
                    <img src="assets/icon/home_enter.png">
                </button>
            </ion-item>
        </ion-list>
        <ion-infinite-scroll  (ionInfinite)="doRefresh($event)" threshold="100%" 
        *ngIf="maintRecordList.length !==0">
                <ion-infinite-scroll-content
                  loadingSpinner="bubbles"
                  loadingText="加载更多">
                </ion-infinite-scroll-content>
              </ion-infinite-scroll>
               <div [hidden]="!isShowNoData"  style="color:#8d8d97">
                    <ion-row>
                        <ion-col text-center>
                          ———————— 我是有底线的 ————————
                        </ion-col>
                    </ion-row>
                </div>
    <!-- </ng-container> -->
        </div>

   
</ion-content>